package cn.icare.cms.model.wx.ro;

import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @Classname WxPayInfoRo
 * @Description TODO 微信统一下单预付交易接口参数信息
 * @Date 2020/3/20 15:14
 * @Created by Administrator
 */
@XmlRootElement(name = "xml")
public class WxPayInfoRo implements Serializable{
    private static final long serialVersionUID = 507755283777183519L;
    /**
     * 小程序ID	appid	必填	String(32)	wxd678efh567hg6787	微信分配的小程序ID
     */
    private String appid;
    /**
     * 商户号	mch_id	必填	String(32)	1230000109	微信支付分配的商户号
     */
    private String mch_id;
    /**
     * 设备号 选填，可填web
     */
    private String device_info;
    /**
     * 随机字符串	必填 5K8264ILTKCH16CQ2502SI8ZNMTM67VS	随机字符串，长度要求在32位以内。推荐随机数生成算法
     */
    private String nonce_str;
    /**
     * 签名	sign	是	String(64)	C380BEC2BFD727A4B6845133519F3AD6,默认签名类型是MD5
     */
    private String sign;

    /**
     * 商品描述	body	是	String(128)	腾讯充值中心-QQ会员充值
     */
    private String body;

    /**
     * 附加数据，在查询API和支付通知中原样返回，可作为自定义参数使用。
     */
    private String attach;
    /**
     * 订单编号
     */
    private String out_trade_no;
    /**
     * 订单实付金额，单位为分
     */
    private int total_fee;
    /**
     * 终端IP，服务器Ip
     */
    private String spbill_create_ip;
    /**
     * 支付成功回调接口地址
     */
    private String notify_url;
    /**
     * 交易类型：小程序=JSAPI
     */
    private String trade_type;

    /**
     * 用户标识
     */
    private String openid;

    /**
     * 商户退款单号
     */
    private  String   out_refund_no;

    /**
     * 退款金额
     */
    private Integer refund_fee;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getDevice_info() {
        return device_info;
    }

    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public int getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(int total_fee) {
        this.total_fee = total_fee;
    }

    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }

    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOut_refund_no() {
        return out_refund_no;
    }

    public void setOut_refund_no(String out_refund_no) {
        this.out_refund_no = out_refund_no;
    }

    public Integer getRefund_fee() {
        return refund_fee;
    }

    public void setRefund_fee(Integer refund_fee) {
        this.refund_fee = refund_fee;
    }
}
